<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Dream
  Date: 2024/9/3
  Time: 0:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set value="${pageContext.request.contextPath}" var="path"></c:set>
<script src="${path}/static/web/js/jquery-3.6.0.min.js"></script>

<link rel="stylesheet" type="text/css" href="${path}/static/web/css/EditStyle.css"/>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form  action="/project/web/upLicense">
    <input type="hidden" value="${requestScope.parking.id}" name="parkingId">
    <table style=" margin:50px auto;   text-align: left;" >
        <tr><td>业主:<label>${requestScope.parking.car.user.userName}</label></td></tr>
        <%--   <tr><td>车牌号:</td><td><input type="text" value="${requestScope.parking.car.license}" name="license"></td></tr>--%>
        <tr><td>车牌号：
            <select name="license"  id="#license">

                <c:forEach items="${requestScope.licenseList}" var="licenseList">

                    <option  value="${licenseList.license}">${licenseList.license}</option>
                </c:forEach>

            </select>
<%--            <input type="hidden" class="license" name="license" value="">--%>
        </td></tr>
        <tr><td>所在区域:<label>${requestScope.parking.region}</label></td></tr>
        <tr><td>剩余时间(天):<label>${requestScope.parking.timeRemaining}</label></td></tr>
        <tr><td>车位类型:<label>${requestScope.parking.parkingType.typeName}</label></td></tr>
        <tr><td> <input type="submit" value="更改"></td></tr>
    </table>
</form>

</body>

</html>
